package request

type AddShop struct {
	Title     string `json:"title" form:"title" binding:"required"`         // 商品标题
	Introduce string `json:"introduce" form:"introduce" binding:"required"` // 商品简介
	Price     uint   `json:"price" form:"price" binding:"required"`         // 商品价格
}

type QueryOneShop struct {
	Id uint `json:"id" form:"id" binding:"required"` // 商品ID
}

type UpdateShop struct {
	Id        uint   `json:"id" form:"id" binding:"required"` // 商品ID
	Title     string `json:"title" form:"title"`              // 商品标题
	Introduce string `json:"introduce" form:"introduce"`      // 商品简介
	Price     uint   `json:"price" form:"price"`              // 商品价格
}

type DeleteShop struct {
	Id uint `json:"id" form:"id" binding:"required"` // 商品ID
}
